<!doctype html>
<html>
<head>
    <title>index</title>
</head>
<body>
    <h1>标题</h1>
    <ul>
        <%
            let len = news.length
            for (let i = 0; i < len; i++) {
        %>
            <li><%= news[i] %></li>
        <% } %>
    </ul>
</body>
</html>